/*index.js
* 路由的入口文件
*/
'use strict'
//import { Route } from 'react-router';

/*
* if you are using babel to transpile es6 code then use the default keyword like
* require('./components/Hello').default
*/
import App from '../containers/App.jsx';
import H5Edit from '../containers/myH5/H5Edit.jsx';
import H5List from '../containers/h5list/H5List.jsx';
import H5PublicSet from '../containers/H5PublicSet.jsx';
import H5FormDataList from '../containers/H5FormDataList.jsx';
import H5ModalList from '../containers/h5list/H5ModalList.jsx';

export default {
  path:__ROOTPATH__,
  component: App,
  childRoutes:[{
    path: 'h5edit',
    childRoutes: [
      {
        path: 'index.html',
        component: H5List,
      },
      {
        path: 'modal.html',
        component: H5ModalList,
      },
      {
        path: 'edit/:uniqueCode',
        component: H5Edit
      },
      {
        path: 'publicSet/:uniqueCode',
        component: H5PublicSet
      },
      {
        path: 'formDataList/:uniqueCode',
        component: H5FormDataList
      }
   ]
  }]
};

